home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / LINUX / MISCDEVI.{6L < prev    next >
Text File  |  1999-09-17  |  825b  |  36 lines

  1. #ifndef _LINUX_MISCDEVICE_H
  2. #define _LINUX_MISCDEVICE_H
  3.  
  4. #define BUSMOUSE_MINOR 0
  5. #define PSMOUSE_MINOR  1
  6. #define MS_BUSMOUSE_MINOR 2
  7. #define ATIXL_BUSMOUSE_MINOR 3
  8. #define AMIGAMOUSE_MINOR 4
  9. #define ATARIMOUSE_MINOR 5
  10. #define SUN_MOUSE_MINOR 6
  11. #define APOLLO_MOUSE_MINOR 7
  12. #define PC110PAD_MINOR 9
  13. #define MAC_MOUSE_MINOR 10
  14. #define WATCHDOG_MINOR        130    /* Watchdog timer     */
  15. #define TEMP_MINOR        131    /* Temperature Sensor */
  16. #define RTC_MINOR 135
  17. #define SUN_OPENPROM_MINOR 139
  18. #define NVRAM_MINOR 144
  19. #define I2O_MINOR 166
  20. #define MISC_DYNAMIC_MINOR 255
  21.  
  22. extern int misc_init(void);
  23.  
  24. struct miscdevice 
  25. {
  26.     int minor;
  27.     const char *name;
  28.     struct file_operations *fops;
  29.     struct miscdevice * next, * prev;
  30. };
  31.  
  32. extern int misc_register(struct miscdevice * misc);
  33. extern int misc_deregister(struct miscdevice * misc);
  34.  
  35. #endif
  36.